package com.ymttest.database.sqlwapper;

import java.util.List;

import com.ymt.database.SqlManager;
import com.ymttest.database.model.CS_ReturnApplyExtPictures;
import com.ymttest.database.model.CS_ReturnApplyReason;
import com.ymttest.utils.EnvSetup;

public class CS_ReturnApplyExtPicturesWapper {
	SqlManager manager;

    public CS_ReturnApplyExtPicturesWapper() {
        manager = new SqlManager("ymtCS" + EnvSetup.getEnv());
    }

    
    public List<CS_ReturnApplyExtPictures> selectByRefId(Integer refId) {
        List<CS_ReturnApplyExtPictures> result = manager
                .getSelectResults(
                        "com.ymttest.database.mapping.CS_ReturnApplyExtPicturesMapper.selectByRefId",
                        refId);
        manager.commit();
        return result;
    }
    

    public static void main(String[] args) {
    	CS_ReturnApplyExtPicturesWapper test = new CS_ReturnApplyExtPicturesWapper();

    //    System.out.println(test.getListByType(0).get(0).getTitle());
        // test.insertYmtCouponSetting(3,11);
        // Logger.debug(test.getLastYmtCouponSettingId());


    }
}
